package com.example.lotterysystem.controller.param;

import com.example.lotterysystem.service.enums.UserIdentityEnum;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserLoginParam implements Serializable {
    /**
     * 用户身份
     * @see UserIdentityEnum#name()
     */
    @NotBlank(message = "用户身份信息不能为空")
    private String mandatoryIdentity;
}
